import React from 'react';
import { Route } from 'react-router-dom'
import { Layout } from 'antd'
import User from 'pages/user'
import Role from 'pages/role'
import Menu from 'pages/menu'
import './content.less'
const { Content } = Layout

export default class Contents extends React.Component {
  render() {
    return (
      <Content className="content">
        <Route path="/user" component={User} />
        <Route path="/role" component={Role} />
        <Route path="/menu" component={Menu} />
      </Content>
    );
  }
}